|
Oracle® TimesTen In-Memory Database JDBC Extensions Java API Reference Release 11.2.1 E13083-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TimesTenConnection
Provides TimesTen extensions to java.sql.Connection
Connection
Field Summary |
---|
Fields inherited from interface java.sql.Connection |
---|
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE |
Method Summary | |
---|---|
void |
addConnectionEventListener(ClientFailoverEventListener listener) Register Client Failover (ACF) event listener. |
int |
getReplicationTrack() Retrieves current track for parallel replication. |
boolean |
getTtPrefetchClose() Returns the current state of TT_PREFETCH_CLOSE |
int |
getTtPrefetchCount() Gets the value of TT_PREFETCH_COUNT |
boolean |
isDataStoreValid() Applications can use this light weight method to detect if the data store is valid or not (rather than execute "some SQL" or built-in procedure. |
void |
removeConnectionEventListener(ClientFailoverEventListener listener) Remove ACF event listener. |
void |
setReplicationTrack(int track) Sets replication track for parallel replication. |
void |
setTtPrefetchClose(boolean enable) Sets the state of TT_PREFETCH_CLOSE to true or false |
void |
setTtPrefetchCount(int count) Sets the TT_PREFETCH_COUNT value |
Methods inherited from interface java.sql.Connection |
---|
clearWarnings, close, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStatement, createStruct, getAutoCommit, getCatalog, getClientInfo, getClientInfo, getHoldability, getMetaData, getTransactionIsolation, getTypeMap, getWarnings, isClosed, isReadOnly, isValid, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setClientInfo, setClientInfo, setHoldability, setReadOnly, setSavepoint, setSavepoint, setTransactionIsolation, setTypeMap |
Methods inherited from interface java.sql.Wrapper |
---|
isWrapperFor, unwrap |
Method Detail |
---|
void setTtPrefetchClose(boolean enable) throws java.sql.SQLException
TT_PREFETCH_CLOSE
to true or falseenable
- true to set TT_PREFETCH_CLOSE to true, false to set TT_PREFETCH_CLOSE to false.java.sql.SQLException
- if a database access error occursboolean getTtPrefetchClose() throws java.sql.SQLException
TT_PREFETCH_CLOSE
java.sql.SQLException
- if a database access error occursvoid setTtPrefetchCount(int count) throws java.sql.SQLException
TT_PREFETCH_COUNT
valuecount
- the value to set TT_PREFETCH_COUNT tojava.sql.SQLException
- if a database access error occursint getTtPrefetchCount() throws java.sql.SQLException
TT_PREFETCH_COUNT
TT_PREFETCH_COUNT
valuejava.sql.SQLException
- if a database access error occursboolean isDataStoreValid() throws java.sql.SQLException
java.sql.SQLException
- if a database access error occursvoid addConnectionEventListener(ClientFailoverEventListener listener) throws java.sql.SQLException
listener
- ACF event listenerjava.sql.SQLException
- if a database access error occursClientFailoverEventListener
void removeConnectionEventListener(ClientFailoverEventListener listener) throws java.sql.SQLException
listener
- ACF event listenerjava.sql.SQLException
- if a database access error occursClientFailoverEventListener
void setReplicationTrack(int track) throws java.sql.SQLException
track
- Replication track for parallel replication.java.sql.SQLException
- if a database access error occurs.int getReplicationTrack() throws java.sql.SQLException
java.sql.SQLException
- if a database error occurs.
|
Oracle® TimesTen In-Memory Database JDBC Extensions Java API Reference Release 11.2.1 E13083-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |